package com.hifar.test.template.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hifar.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author zhuWeiWei
 * @description 模板管理
 * @date 2024/12/27 15:31
 */
@Data
@TableName("hf_env_template")
@ApiModel("模板管理")
public class HfEnvTemplate extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty("模板名称")
    @NotEmpty(message = "模板名称不能为空!")
    private String templateName;

    @TableField
    @ApiModelProperty("模板类型")
    @NotEmpty(message = "模板类型不能为空!")
    private String templateType;

    @ApiModelProperty("模板路径")
    private String templatePath;

    @ApiModelProperty("模板类型名称")
    private String templateTypeName;
}
